package com.hs.dao;

import com.hs.entity.Student;
import com.hs.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectByCondition(Student record);

    int selectByConditionCount(Student record);


    List<User> selectByCondition1(User record);
}